GCB_NO_XPK_METHOD = 3 /* Don't use any xpk method. */
GCB_FILE_SIGNATURE = 4 /* The Signature contains the path and name of a file containing the signature. */
GCB_AUTO_XPK_PACK = 5 /* Automatically xpk pack all new messages when are written to the database. NB: A xpk method must have been defined. */
GCB_FORCE_PACK_REWRITE = 6 /* Force rewrite when packing conferences. */
GCB_COMMAND_SIGNATURE = 7 /* The signature field contains the path and name of a command. When the command is executed should the signature contents be written to stdout. The template for the command is expected to be BBSNAME/K,CONFNAME/K. */
GCB_ALWAYS_REPLY_STR = 8 /* Use reply string on all replies. */
GETGLOBALDATA stem GLOBALDATA
if(rc ~= 0) then
do
say BBSREAD.LASTERROR
exit
end
say 'Dnloadpath: ' GLOBALDATA.DNLOADPATH
say 'Uploadpath: ' GLOBALDATA.UPLOADPATH
say 'Buffers: ' GLOBALDATA.BUFFERS
say 'BufferSize: ' GLOBALDATA.BUFFERSIZE
say 'Signature: ' GLOBALDATA.SIGNATURE
say 'KeepMsg: ' GLOBALDATA.KEEPMSG
say 'KeepTime: ' GLOBALDATA.KEEPTIME
say 'XPKMethod: ' GLOBALDATA.XPKMETHOD
say 'Tmpdir: ' GLOBALDATA.TMPDIR
say 'TagFile: ' GLOBALDATA.TAGFILE
say 'UserName: ' GLOBALDATA.USERNAME
say 'UserStreet: ' GLOBALDATA.USERSTREET
say 'UserAddress: ' GLOBALDATA.USERADDRESS
say 'UserCountry: ' GLOBALDATA.USERCOUNTRY
say 'UserPhone: ' GLOBALDATA.USERPHONE
say 'HazeLevel 1: ' GLOBALDATA.HAZELEVEL1
say 'HazeLevel 2: ' GLOBALDATA.HAZELEVEL2
say 'HazeLevel 2: ' GLOBALDATA.HAZELEVEL3
say 'PGPCommand: ' GLOBALDATA.PGPCOMMAND
say 'PGPSignID: ' GLOBALDATA.PGPSIGNID
say 'ReplyString: ' GLOBALDATA.REPLYSTRING
say 'QuoteChars: ' GLOBALDATA.QUOTECHARS
say 'StartupScript: ' GLOBALDATA.STARTUPSCRIPT
say 'QuitScript: ' GLOBALDATA.QUITSCRIPT
say 'BBSEnterScript: ' GLOBALDATA.BBSENTERSCRIPT
say 'BBSLeaveScript: ' GLOBALDATA.BBSLEAVESCRIPT
say 'ConfEnterScript:' GLOBALDATA.CONFENTERSCRIPT
say 'ConfLeaveScript:' GLOBALDATA.CONFLEAVESCRIPT
gf = ''
if bittst(GLOBALDATA.FLAGS,GCB_IGNORE_KEEPMSG) then gf = gf || 'IGNORE_KEEPMSG '
if bittst(GLOBALDATA.FLAGS,GCB_IGNORE_KEEPTIME) then gf = gf || 'IGNORE_KEEPTIME '
if bittst(GLOBALDATA.FLAGS,GCB_RESET_EVENT_NR) then gf = gf || 'RESET_EVENT_NR '
if bittst(GLOBALDATA.FLAGS,GCB_NO_XPK_METHOD) then gf = gf || 'NO_XPK_METHOD '
if bittst(GLOBALDATA.FLAGS,GCB_FILE_SIGNATURE) then gf = gf || 'FILE_SIGNATURE '
if bittst(GLOBALDATA.FLAGS,GCB_AUTO_XPK_PACK) then gf = gf || 'AUTO_XPK_PACK '
if bittst(GLOBALDATA.FLAGS,GCB_FORCE_PACK_REWRITE) then gf = gf || 'FORCE_PACK_REWRITE '
if bittst(GLOBALDATA.FLAGS,GCB_COMMAND_SIGNATURE) then gf = gf || 'COMMAND_SIGNATURE '
if bittst(GLOBALDATA.FLAGS,GCB_ALWAYS_REPLY_STR) then gf = gf || 'ALWAYS_REPLY_STR '